<?php
/**
 * Author:   tangxiaowen
 * Email:    846506584@qq.com
 * Date:     2019/6/17 0017
 * Describe: 富友支付验证类
 */

namespace app\common\validate\fuyou;

use think\Validate;

class Fuyou extends Validate
{
    protected $rule = [
        'orderId' => 'require',
        'vsCode' => 'require',
    ];

    protected $message = [
        'orderId' => ['require' => '订单ID不能为空'],
        'vsCode' => ['require' => '验证码不能为空'],
    ];

    protected $scene = [
        'merchantOrder' => ['orderId'],
        'pay' => ['result', 'vsCode'],
    ];
}